package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.Business;
import cn.wolfcode.car.qo.BusinessQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBusinessService {
    int delete(Long id);

    int save(Business record);

    Business get(Long id);

    PageInfo<Business> list(BusinessQueryObject qo);

    List<Business> listAll();

    int update(Business record);


    Business getMainStore();
}
